﻿using System.Windows.Controls;
using System.Windows.Media;

namespace Moonwish.Silverlight.OsAvatar.Controls
{
    /// <summary>
    /// 用户头象控件。
    /// write by zhlin 2011-11-23
    /// </summary>
    public partial class Avatar : UserControl
    {
        public Avatar()
        {
            InitializeComponent();
        }

        /// <summary>
        /// 头像图片
        /// </summary>
        public ImageSource Image
        {
            get { return imgAvatar.Source; }
            set { imgAvatar.Source = value; }
        }
    }
}
